/*
 * @Author: huyu 
 * @Date: 2020-06-06 11:36:57 
 * @Last Modified by: huyu
 * @Last Modified time: 2020-06-20 21:24:40
 */

// 头部组件样式
@import "../../theme/index.less";

.main {
  height: @header-height;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background-color: @header-back-color;
  padding: 0 @padding;
  display: flex;
  align-items: stretch;
  transition: box-shadow 250ms;
  border-bottom: 1px solid @border;
  overflow: hidden;
}

.mainShadow {
  box-shadow: 0 2px 2px #e6e6e6;
  border-bottom: 1px solid transparent;
}

.logo {
  display: none;
}

@media screen and (min-width:750px) {
  .logo {
    cursor: pointer;
    display: block;

    img {
      max-height: 100%;
    }
  }
}

.title {
  flex: 1;
  text-align: center;
  line-height: @header-height;
  letter-spacing: 2px;
}

@media screen and (max-width:751px) {
  .title {
    font-size: 16px;
  }
}